<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
  <title>跳蚤市场</title>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="stylesheet" type="text/css" href="/Public/css/bootstrap.css" />
  <link rel="stylesheet" type="text/css" href="/Public/css/schoolshop.css" />
  <script type="text/javascript" src="/Public/js/jquery-1.11.2.js"></script>
  <script type="text/javascript" src="/Public/js/bootstrap.js"></script>
  <script type="text/javascript" src="/Public/Matrix/js/matrix.js"></script>
</head>
<body>
 <nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container">
            <?php if(!empty($cateRow)): function showTree($data) { echo '<ul class="nav navbar-nav">'; foreach ($data as $key => $val) { echo ' <li class="dropdown">'; echo '<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">'.$val['catename'].'<span class="caret"></span></a>'; if (!empty($val['childs'])) { echo '<ul class="dropdown-menu" role="menu">'; foreach ($val['childs'] as $key => $val) { echo '<li><a href="#">'.$val['catename'].'</a></li>'; } echo '</ul>'; } echo '</li>'; } echo '</ul>'; } showTree($cateRow); endif; ?>
            <!--            
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">Link</a></li>
            <li><a href="#">Link</a></li>
            -->
    <ul class="nav navbar-nav navbar-right">
            <li><a href="/Index/release"><button type="button" class="btn btn-success navbar-btn navbtn">发布宝贝</button></a></li>
            <li><a href="/Index/register"><button type="button" class="btn btn-success navbar-btn navbtn">注册</button></a></li>
            <li><a href="/Com/login"><button type="button" class="btn btn-success navbar-btn navbtn">登陆</button></a></li>
    </ul>
  </div>
</nav>
<div id="content">
  
</div>
<script type="text/javascript" href="/Public/Matrix/js/jquery.js"></script>
<script type="text/javascript" href="/Public/js/bootstrap.js"></script>
</body>
</html>